package cn.tips.dmp.biz.talent.wxApplet.entity;

import lombok.Data;
import cn.tips.dmp.supports.jpa.BaseJpaSnowflakeIdEntity;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @description: 微信用户表--待审核
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "tips_wx_check_user")
@Where(clause = "is_del=0")
public class WxCheckUserPO extends BaseJpaSnowflakeIdEntity {

    /**
     *
     * 微信小程序里的用户电话
     */
    @Column
    private String phone;

    /**
     *
     * 姓名
     */
    @Column
    private String name;

    /**
     *
     * 智库id
     */
    @Column
    private Long orgId;

    /**
     *
     * 审核状态 1：待审核 2：审核通过 3： 审核拒绝
     */
    @Column
    private String status;

    /**
     * 是否删除
     */
    @Column(nullable = false)
    private Boolean  isDel= false;

    /**
     * 创建时间
     */
    @Column
    private Date createTime = new Date();

    /**
     * 更新时间
     */
    @Column
    private Date updateTime = new Date();


}
